﻿@{
    string path = Context.Request.Path;

    if (User.Identity.IsAuthenticated)
    {
        <a href="~/member/logout">注销</a>
    }
    else
    {
        <a href="~/member/login?returnUrl=@path">登录</a>
    }
}